package com.gzx.plugin.tjzy.modular.sms.batch.vo;

import com.fhs.core.trans.anno.Trans;
import com.fhs.core.trans.constant.TransType;
import com.gzx.plugin.tjzy.modular.sms.batch.entity.GzxSmsBatch;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import vip.xiaonuo.common.pojo.CommonEntity;

import java.io.Serial;


/**
 * 短信发送批次视图对象 gzx_sms_batch
 *
 * @author LionLi
 * @date 2024-09-23
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = GzxSmsBatch.class)
public class GzxSmsBatchVo extends CommonEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    private String id;

    /**
     * 批次号
     */
    private String batchNumber;

    /**
     * 批次名称
     */
    private String batchName;

    @Trans(type = TransType.DICTIONARY, key = "project", ref = "projectName")
    private String projectCode;

    private String projectName;

    /**
     * 批次状态1待测试2待开始3发送中4发送完成
     */
    @Trans(type = TransType.DICTIONARY, key = "SMSBatchStatus")
    private String batchStatus;

    @Trans(type = TransType.DICTIONARY, key = "SmsBatchSendStatus")
    private Integer sendStatus;

    @Trans(type = TransType.DICTIONARY, key = "smsTemplate", ref = "templateName")
    private String templateCode;

    private String templateName;

    private String supplierOrder;

    /**
     * 总数
     */
    private Integer totalQuantity;

    /**
     * 完成数量
     */
    private Integer completedQuantity;

    private Integer successQuantity;

    private Integer failQuantity;

    private Integer noSendQuantity;

}
